//
//  CTMediator+CRM.m
//  KBMediator_Catrgories
//
//  Created by 肖雄 on 17/5/31.
//  Copyright © 2017年 kuaibao. All rights reserved.
//

#import "CTMediator+CRM.h"

@implementation CTMediator (CRM)

- (UIViewController *)CRM_panelController
{
    return [self performTarget:@"CRM" action:@"panelController" params:nil shouldCacheTarget:YES];
}

- (UIViewController *)CRM_pickerCustomerControllerWithCallBack:(void (^)(NSDictionary *))callBack
{
    NSDictionary *params = nil;
    if (callBack) {
        params = @{@"callBack": [callBack copy]};
    }
    
    return [self performTarget:@"CRM" action:@"pickerCustomerController" params:params shouldCacheTarget:YES];
}

@end
